import 'package:get/get.dart';
import 'package:tencentcloud_ai_desk_customer/tencentcloud_ai_desk_customer.dart';
import 'package:yqmssa_app/views/about/view.dart';
import 'package:yqmssa_app/views/customer/human_customer_view.dart';
import 'package:yqmssa_app/views/customer/intelligence_customer_view.dart';
import 'package:yqmssa_app/views/feedback/feedback_view.dart';
import 'package:yqmssa_app/views/index/index_view.dart';
import 'package:yqmssa_app/views/index/screen/home_screen.dart';
import 'package:yqmssa_app/views/landing/html_view.dart';
import 'package:yqmssa_app/views/landing/landing_view.dart';
import 'package:yqmssa_app/views/login/login_view.dart';
import 'package:yqmssa_app/views/message/system_view.dart';
import 'package:yqmssa_app/views/splash_view.dart';
import 'package:yqmssa_app/views/web/web_view.dart';

class PageRouter {
  static const String start = '/';
  static const String login = '/login';
  static const String index = '/index';
  static const String home = '/home';
  static const String landing = '/landing';
  static const String systemMessage = '/system';
  static const String agreement = '/agreement';
  static const String webView = '/webView';
  static const String humanCustomer = '/human_customer';
  static const String intelligenceCustomer = '/intelligence_customer';
  static const String feedback = '/feedback';
  static const String about = '/about';
  static const String infoState = '/info_state';

  static final getPages = [
    GetPage(name: start, page: () => const SplashView()),
    GetPage(name: login, page: () => const LoginView()),
    GetPage(name: index, page: () => const IndexView()),
    GetPage(name: home, page: () => const HomeScreen()),
    GetPage(name: landing, page: () => const LandingView()),
    GetPage(name: systemMessage, page: () => const SystemView()),
    GetPage(name: agreement, page: () => const WebView()),
    GetPage(name: webView, page: () => const WebView()),
    GetPage(name: humanCustomer, page: () => const HumanCustomerView()),
    GetPage(name: intelligenceCustomer, page: () => IntelligenceCustomerView(config: TencentCloudCustomerConfig())),
    GetPage(name: feedback, page: () => const FeedbackView()),
    GetPage(name: about, page: () => const AboutView()),
    GetPage(name: infoState, page: () => const HtmlView()),
  ];
}
